package com.api.shopapi.service;


import com.api.shopapi.entity.InstitutionStaffRel;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface InstitutionStaffRelService {

    int insert(InstitutionStaffRel institutionStaffRel);

    InstitutionStaffRel getByInstitutionStaffRelCode(String institutionStaffRelCode);

    InstitutionStaffRel getByStaffCode(String staffCode);

    List<InstitutionStaffRel> getListByInstitutionCode(String institutionCode);

    int deleteByInstitutionStaffRelCode(String institutionStaffRelCode);

}
